import Vue from 'vue'
import VueRouter from 'vue-router'
import Todo from '../views/todo.vue'

Vue.use(VueRouter)



const router = new VueRouter({
  routes:[
    {path:'/',redirect:'/todo'},
    {path:'/todo',component:Todo}
  ]
})

export default router
